saveCache

suspend fun saveCache(paths: List<String>, key: String, uploadConcurrency: Int = 4, uploadChunkSize: Long = 32 * 1024 * 1024): Int

Saves a list of files with the specified key

Parameters

paths

a list of file paths to be cached

key

an explicit key for restoring the cache

uploadConcurrency

Number of parallel cache uploads

uploadChunkSize

Maximum chunk size in bytes for cache upload

Sources

js source
Link copied to clipboard